//
//  JSTestObjext.h
//  ZITHER
//
//  Created by weixin on 2018/11/6.
//  Copyright © 2018 weixn. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <JavaScriptCore/JavaScriptCore.h>
//创建协议
@protocol JSTestObjectProtocol <JSExport>

/** 通过js调用方法 */
-(void)openPhoto:(NSString*)url;

-(void)openVideo:(NSString*)url;

-(RACSignal*)getData;

-(RACSignal *)setOppenVideo:(NSString*)url;

/** 调取扫码 */
-(void)scanQrCode;

-(void)goNext:(NSString*)title Page:(NSString*)url;

-(void)scan;

//-(void)goNextPage:(NSString*)title url:(NSString*)url;
//-(void)goNextPage:(NSString*)url;

@end

NS_ASSUME_NONNULL_BEGIN

@interface JSTestObjext : NSObject<JSTestObjectProtocol>


@end

NS_ASSUME_NONNULL_END
